<div id="db-usr-profile">
<div class="pic">
<a href="{:U('space/index/index',array('id'=>$strUser['doname']))}">
<img alt="{$strUser['username']}" src="{$strUser['face']}">
</a>
</div>
<div class="info">
<h1>
{$strUser['username']}
</h1>

<ul>
	<if condition="$strUser['userid'] eq $visitor['userid']">
    	<li><a href="{:U('space/index/index',array('id'=>$strUser['doname']))}">我的主页</a></li>
    <else/>
    	<li><a href="{:U('space/index/index',array('id'=>$strUser['doname']))}">{$strUser['username']}的主页</a></li>
    </if>   
    <li><a href="{:U('space/notes/index',array('id'=>$strUser['userid']))}">日记</a></li>
    <li><a href="{:U('space/photos/index',array('id'=>$strUser['userid']))}">相册</a></li>
    <!--<li><a href="{:U('space/likes/index',array('id'=>$strUser['userid']))}">喜欢</a></li>-->    
    <if condition="$strUser['userid'] eq $visitor['userid']">
    <li><a href="{:U('home/message/ikmail',array('d'=>'inbox'))}">站内信</a></li>
    <li><a href="{:U('home/user/setbase')}">设置</a></li>
    </if>
</ul>

</div>
</div>
